UseDbForIndex#244
Open
LeftofZen wants to merge 4 commits into
Open
Conversation
…nfiguration - Added ObjectServiceHostOptions class to encapsulate configuration options for the ObjectServiceHost. - Updated ObjectService.csproj to include Microsoft.EntityFrameworkCore.Design package. - Refactored Program.cs to utilize ObjectServiceHost for configuration and setup. - Enhanced BaseDataTableRouteHandler to support generic DbContext types. - Updated various route handlers to use LocoDbContext and IdentityContext appropriately. - Modified ServerFolderManager to initialize from a database context instead of an index file. - Improved folder structure management for server objects. - Cleaned up unused references and improved test cases to align with new structure.
- Added FolderRouteHandler to handle folder indexing requests. - Implemented IndexFolderAsync method to scan and index folder contents. - Integrated folder indexing into the existing ObjectService routing. - Enhanced EmbeddedObjectServiceHost to manage shutdown behavior with a parent process watchdog. - Updated FilterViewModel to simplify filter expression building. - Refactored FolderTreeViewModel to remove local directory handling and improve online browsing logic. - Introduced reactive commands in MainWindowViewModel for folder indexing and local server log viewing. - Adjusted UI components in FolderTreeView and MainWindow to reflect changes in functionality and improve user experience.
…r service - Added a new column "FileName" to the DatObjects table in the database. - Introduced DatFolderScanner service to scan .dat files and return results. - Created DatFileScanResult and DatFolderScanResults records to encapsulate scan results. - Updated LocalObjectIndexService to rebuild the object index from scanned .dat files. - Refactored logging to integrate with the GUI's logging system. - Updated various view models to utilize the new scanning service.
…handling - Updated references from LocoDbContext to BaseLocoDbContext across multiple files to standardize database access. - Introduced ObjectAvailability handling in various object-related classes and services to ensure consistent availability status. - Modified ObjectIndex and ObjectIndexEntry to include Availability property. - Enhanced ObjectEditorContext to manage multiple ObjectIndexes based on file location. - Implemented tests to verify the correct behavior of object availability normalization in local host scenarios. - Refactored route handlers to conditionally map routes based on server mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.